home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.20010306-20010921
/
000122_fdc@watsun.cc.columbia.edu_Thu May 10 14:28:28 EDT 2001.msg
< prev
next >
Wrap
Text File
|
2020-01-01
|
3KB
|
73 lines
Article: 12412 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!watsun.cc.columbia.edu!fdc
From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: How to set Linefeed display as CR/LF?
Date: 10 May 2001 18:28:18 GMT
Organization: Columbia University
Lines: 56
Message-ID: <9demk2$bnu$1@newsmaster.cc.columbia.edu>
References: <y9AK6.175$Dd5.113922@ruti.visi.com> <9dej5o$9bs$1@newsmaster.cc.columbia.edu> <oIAK6.181$Dd5.116707@ruti.visi.com>
NNTP-Posting-Host: watsun.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 989519298 12030 128.59.39.2 (10 May 2001 18:28:18 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 10 May 2001 18:28:18 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:12412
In article <oIAK6.181$Dd5.116707@ruti.visi.com>,
Grant Edwards <grante@visi.com> wrote:
: In article <9dej5o$9bs$1@newsmaster.cc.columbia.edu>, Frank da Cruz wrote:
: >: I found the option that can be used to display a CR as CR/LF
: >: for systems that terminate lines with CR, but what about
: >: systems that terminate lines with LF? How do I get LF displayed
: >: as CR/LF?
: >
: >Are you describing a real situation or is this an academic
: >question?
:
: It's a "real" situation in that I'm using Kermit as part of a
: setup to observe a stream of test-data I'm sending through a
: prototype of a new product.
:
: >If it's a real question, what host is sending bare linefeeds to
: >a terminal?
:
: It's a TCP<-->serial gateway, sort of like a dumb terminal server.
:
: >And which Kermit program are you using,
:
: C-Kermit 7.0.197, 8 Feb 2000, for Linux
:
: >to emulate which kind of terminal,
:
: ckermit is running in an xterm or an rxvt terminal window under X11.
:
: >on what kind of connection?
:
: 9600 baud serial connection via Comtrol RocketPort 32-port
: serial board under Linux.
:
: I'm using netcat to shove Unix textfiles into the terminal
: server which acts as a transparent conduit between a serial
: port and a TCP port.
:
But in real life, the UNIX terminal driver supplies the CR, so this
isn't really an accurate simulation. Maybe you could pipe netcat
through something that converts LF to CRLF, if netcat is pipeable.
You could even pipe it thru tr '\012' '015' and then use TERMINAL
CR-DISPLAY CRLF (assuming your files don't already contain bare CRs).
: I connect the terminal-server's serial
: port to a serial port on a Unix machine and use Kermit to
: display the data stream. It would be convenient to have the
: linefeeds in the text files displayed as CR/LF, but it's just a
: convenience. I can add CR's to the files for the tests I'm
: running.
:
Nobody has ever asked for this before, so C-Kermit doesn't have it.
Maybe I can add it to the next release after C-Kermit 7.1 Beta.01
is announced, hopefully within a few days, but I'm not going to mess
with Beta.01 since as of today it's frozen.
- Frank